import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

import Index from './../pages/Index'
import Show from './../pages/Show'
import Userecord from './../pages/Userecord'
import Personal from './../pages/Personal'
import Recharge from './../pages/Recharge'
import Message from './../pages/Message'
import Consumercenter from './../pages/Consumercenter'
import Backpack from './../pages/Backpack'
import Orderdetails from './../pages/orderDetails'
import Sitelist from './../pages/Sitelist'
import Addsite from './../pages/Addsite'
import Savesite from './../pages/Savesite'
import Changecoins from './../pages/Changecoins'
import Myorder from './../pages/Myorder'
import Invitation from './../pages/Invitation'
import Luckdraw from './../pages/Luckdraw'
import Notice from './../pages/Notice'
import error404 from './../pages/error404'


export default new Router({
	routes:[
		{path:'/',component:Index},
		{path:'/Show',name:'show',component:Show},
		{path:'/Userecord',name:'userecord',component:Userecord},
		{path:'/Personal',name:'personal',component:Personal},
		{path:'/Recharge',name:'recharge',component:Recharge},
		{path:'/Message',name:'message',component:Message},
		{path:'/Consumercenter',name:'consumercenter',component:Consumercenter},
		{path:'/Backpack',name:'backpack',component:Backpack},
		{path:'/Orderdetails',name:'orderdetails',component:Orderdetails},
		{path:'/Sitelist',name:'sitelist',component:Sitelist},
		{path:'/Addsite',name:'addsite',component:Addsite},
		{path:'/Savesite',name:'savesite',component:Savesite},
		{path:'/Changecoins',name:'changecoins',component:Changecoins},
		{path:'/Myorder',name:'myorder',component:Myorder},
		{path:'/Invitation',name:'invitation',component:Invitation},
		{path:'/Luckdraw',name:'luckdraw',component:Luckdraw},
		{path:'/Notice',name:'lotice',component:Notice},
	],
	mode:'hash',
	base:__dirname,
})
